﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace net48img2pdf
{
    class Program
    {
        static void Main(string[] args)
        {
            var converter = new ImageToPdfConverter();
            // 单图转PDF
            converter.ConvertImageToPdf(@"D:\dl\微信图片_20250306181215.jpg",
             @"D:\dl\output.pdf");
            // 多图合并
            // converter.BatchConvertImagesToPdf(new[] { @"C:\img1.jpg", @"C:\img2.jpg" }, @"C:\combined.pdf");

            Console.WriteLine("Hello, World!");
        }
    }
}
